#patientDetails {
	@include flexbox();
	@include flex-direction(column);
	height: 100%;
	background: #fff;
	header {
        @include flexbox();
		height: 45px;
        line-height: 45px;
        color: #fff;
        background: linear-gradient(to right, #2fd4ac,  #2fd492);
		div {
            @include flex();
			text-align: center;
            font-size: 18px;
            overflow: hidden;
            white-space: nowrap;
            text-overflow: ellipsis;
            padding-right: 45px;
        }
        span {
            font-size: 15px;
            color: #fff;
            opacity: 0.7;
            padding: 0 15px;
        }
    }
    .swipe {
		@include flex();
		width: 100%;
		overflow-y: scroll;
		ul.list {
			@include flex();
			width: 100%;
			overflow-y: scroll;
			&>li {
				padding: 0 15px 10px;
				// border-top: 10px solid #F6F6F6;
				background: #fff;
				&>a {
                    ul {
                        border-bottom: 2px dotted #D5D5D5;
                        li {
                            @include flexbox();
                            @include justify-content(space-between);
                            padding: 10px 25px;
                            font-size: 15px;  
                            
                            &:first-child {
                                height: 63px;
                                line-height: 63px;
                                // border-bottom: 2px dotted #D5D5D5;
                                padding: 0;
                                i {
                                    width: 42px;
                                    height: 14px;
                                    line-height: 14px;
                                    margin: auto 0;
                                    font-size: 10px;
                                    border-radius: 8px;
                                    text-align: center;
                                    color: #fff;                        
                                    &.yellow {
                                        background: rgb(255,178,26); 
                                    }
                                }
                            }
                            &.hospital  {
                                background: url(image/icon_localize@2x.png) no-repeat left center;
                                background-size: 11px;
                                div {
                                    overflow: hidden;
                                    white-space: nowrap;
                                    text-overflow: ellipsis;
                                }                                                                                             
                            }
                            &.doctor {
                                background: url(image/icon_doctor.png) no-repeat left center;
                                background-size: 15px;
                            }
                            &.remarks {
                                background: url(image/icon-remarks.png) no-repeat left center;
                                background-size: 15px;
                            }
                            span {
                                @include flexbox();
                                margin: auto 0;
                                color: rgb(51,51,51);
                                &.bold {
                                    font-weight: bold;
                                }
                            }
                            
                        }
                    }
				}

			}
		}
	}
    .searchbox {
        @include flexbox();
        padding: 7px 0;
        background: #fff;
        .search {
            @include flexbox();
            margin: auto;
            div {
                width: 250px;
                height: 30px;
                line-height: 30px;
                background: #F6F6F6 url(image/icon_search.png) no-repeat 15px center;
                background-size: 13px;
                margin: auto;
                border-radius: 15px;
                padding-left: 35px;
                input {
                    border: none;
                    background: #F6F6F6;
                    height: 30px;
                    line-height: 30px;
                    font-size: 15px;
                    color: rgba(51,51,51,1);
                }
                ::-webkit-input-placeholder { /* WebKit browsers */
                    color:    #b5b5b5;
                }
                :-moz-placeholder { /* Mozilla Firefox 4 to 18 */
                    color:    #b5b5b5;
                    opacity:  1;
                }
                ::-moz-placeholder { /* Mozilla Firefox 19+ */
                    color:    #b5b5b5;
                    opacity:  1;
                }
                :-ms-input-placeholder { /* Internet Explorer 10+ */
                    color:    #b5b5b5;
                }
            }   
            span {
                line-height: 30px;
                font-size: 15px;
                padding-left: 15px;
                color: #158eda;
            } 
        }
        
    }
    
    section {
        @include flex();
        width: 100%;
        border-top: 10px solid #f6f6f6;
        >ul {
            border-bottom: 10px solid #f6f6f6;
            li {
                background: #fff;  
                margin: 0 15px;
                font-size: 15px;
                color: rgba(51,51,51,1);
                &:first-child {
                    @include flexbox();
                    @include justify-content(space-between);
                    height: 65px;
                    line-height: 65px;
                    border-bottom: 1px solid rgba(223,223,223,1); 
                    img {
                        margin: auto 0;
                    }
                    h3 {
                        color: rgba(51,51,51,1);
                        font-size: 17px;
                        padding-left: 13px;
                    }  
                    i {  
                        @include flex();              
                        overflow: hidden;
                        text-overflow: ellipsis;
                        white-space: nowrap;
                        padding-left: 25px;
                    }
                    a {
                        width: 69px;
                        height: 29px;
                        line-height: 29px;
                        text-align: center;
                        margin: auto 0;
                        float: right;
                        color: #43d89c;
                        border: 1px solid #43d89c;
                        border-radius: 14px;
                    }
                }       
                &:last-child  {
                    height: auto;
                    padding: 15px 0;
                    div {
                        overflow: hidden;
                        text-overflow: ellipsis;
                        white-space: nowrap;
                        &:last-child {
                            @include flexbox();
                            @include justify-content(space-between);
                            padding-top:3px;
                        }
                    }
                }       
            
            }
        }
        div.content {
            @include flexbox();
            @include justify-content(space-between);
            padding: 28px 72px;
            background: #fff;
            label {
                // @include flex();
                width: 50%;
                margin: auto;
                img {
                    margin-bottom: 10px;
                    float: left;
                }
                i {
                    display: inline-block;
                    width: 66px;
                    height: 20px;
                    text-align: center;
                    font-size: 16px;
                    color: rgba(51,51,51,1);
                }
                &:last-child  {
                    img {
                        float: right;
                    }
                    i {
                        float: right;    
                    }
                }
                input[type='radio'] {
                    opacity: 0;
                    position: absolute;
                }
            }
    
        }
    }
    footer {
        @include flexbox();
        width: 100%;
        height: 50px;
        line-height: 50px;
        border-top: 1px solid #E1E1E1;
        padding: 0 10px;
        a {
            width: 125px;
            height: 35px;
            line-height: 35px;
            font-size: 15px;
            margin: auto;
            text-align: center;
            border-radius: 16px;
            &.sms {
                border: 1px solid #43d89c;
                color: #43d89c;
            }
            &.tel {
                background: linear-gradient(to bottom,#43d88a,#43d89c);
                color: #fff;
            }
        }
    }
}

